<template>
    <el-tabs type="border-card" class="tab_global_class">
        <el-tab-pane label="视频上传">
            <UNCForm :materialType="videoType"></UNCForm>
        </el-tab-pane>
        <el-tab-pane label="文档上传">
            <UNCForm :materialType="textType"></UNCForm>
        </el-tab-pane>
    </el-tabs>
</template>

<script setup>
    import {reactive} from 'vue'

    const videoType = reactive('video');
    const textType = reactive('text');
</script>

<style scoped>
    .tab_global_class{
        margin-right: 8%;
        margin-left: 8%;
        /*height: 100%*/
    }
</style>